package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface DiscoverylinkDAO extends JpaDao<Discoverylink> {

	public Discoverylink findDiscoverylinkById(Integer id) throws DataAccessException;

	public Discoverylink findDiscoverylinkById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByName(String name) throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByNameContaining(String name_1) throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByDescription(String description) throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Discoverylink findDiscoverylinkByPrimaryKey(Integer id) throws DataAccessException;

	public Discoverylink findDiscoverylinkByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinksByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Discoverylink> findAllDiscoverylinks() throws DataAccessException;

	public Set<Discoverylink> findAllDiscoverylinks(int startResult, int maxRows) throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinkByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Discoverylink> findDiscoverylinksByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Discoverylink findDiscoverylinkByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Discoverylink findDiscoverylinkByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
